Classification and segmentation deep learning models